﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ClientTools.Client.Library.Interfaces
{
    public interface IMedia
    {
        ClientTools.Library.Media.MediaCollection GetRootMedias(bool recursive);
        ClientTools.Library.Media.MediaCollection GetMedias(int parentId, bool recursive);
        bool DeleteMedia(int mediaId);
        ClientTools.Library.Media.Media CreateImage(int parentId, string fileName, byte[] content);
        ClientTools.Library.Media.Media CreateFile(int parentId, string fileName, byte[] content);
        ClientTools.Library.Media.Media CreateFolder(int parentId, string folderName);
    }
}
